import Mock from 'mockjs';

let userStatData = {
  "itemsMap" : {
    "hasSkill" : {
      "0" : 28
    },
    "majorDiseaseHandled" : {
      "0" : 26,
      "1" : 2
    },
    "disease" : {
      "23" : 1,
      "25" : 1,
      "15" : 1,
      "17" : 9,
      "19" : 1,
      "2" : 2,
      "3" : 1,
      "4" : 17,
      "5" : 2,
      "6" : 1,
      "8" : 14,
      "9" : 1,
      "20" : 2,
      "10" : 2
    },
    "gender" : {
      "0" : 25419,
      "1" : 26233
    },
    "paidMedicalExpenses" : {
      "1" : 1,
      "2" : 2,
      "3" : 1,
      "4" : 1,
      "5" : 1
    },
    "orgCareNeed" : {
      "0" : 26,
      "1" : 2
    },
    "nation" : {
      "1" : 430
    },
    "disability" : {
      "3" : 1
    },
    "specialTypes" : {
      "11" : 1,
      "22" : 23,
      "12" : 1,
      "13" : 3,
      "1" : 7,
      "2" : 18,
      "3" : 11,
      "4" : 9,
      "5" : 4,
      "6" : 6,
      "7" : 104,
      "8" : 41,
      "9" : 6,
      "20" : 247,
      "21" : 202
    },
    "elderlyCardType" : {
      "1" : 2187,
      "2" : 10305,
      "3" : 2,
      "4" : 3636
    },
    "visitType" : {
      "1" : 3,
      "2" : 3
    },
    "hasMajorDisease" : {
      "0" : 26,
      "1" : 2
    },
    "recoveryStatus" : {
      "0" : 26,
      "1" : 2
    },
    "volunteerServiceCategories" : {
      "1" : 1,
      "2" : 1
    },
    "hasFaith" : {
      "0" : 28,
      "1" : 1
    },
    "hobbies" : {
      "1" : 1,
      "2" : 1
    },
    "educationLevel" : {
      "0" : 25,
      "1" : 1,
      "4" : 1,
      "5" : 2
    },
    "userType" : {
      "0" : 1002,
      "1" : 47356,
      "2" : 2631,
      "9" : 663
    },
    "ability" : {
      "0" : 13,
      "1" : 141,
      "2" : 409,
      "3" : 7117
    },
    "homeCareNeeds" : {
      "0" : 1,
      "11" : 3,
      "1" : 34,
      "12" : 1,
      "2" : 3800,
      "3" : 1611,
      "4" : 1790,
      "5" : 15,
      "6" : 7,
      "7" : 827,
      "9" : 2,
      "10" : 5
    },
    "maritalStatus" : {
      "1" : 1,
      "3" : 2
    },
    "liveStatus" : {
      "2" : 684,
      "4" : 4822,
      "6" : 2186
    }
  },
  "total" : 51652,
  "majorDictMap" : {
    "hasSkill" : "haveOrNo",
    "majorDiseaseHandled" : "yesno",
    "disease" : "user.disease",
    "gender" : "user.gender",
    "nation" : "nation",
    "paidMedicalExpenses" : "customer.medicalExpense",
    "orgCareNeed" : "customer.haveNeed",
    "disability" : "customer.disability",
    "specialTypes" : "customer.specialType",
    "elderlyCardType" : "user.elderlyCardType",
    "visitType" : "customer.visitType",
    "hasMajorDisease" : "haveOrNo",
    "recoveryStatus" : "customer.recoveryStatus",
    "hasFaith" : "haveOrNo",
    "volunteerServiceCategories" : "volunteer.service",
    "educationLevel" : "education",
    "hobbies" : "customer.hobby",
    "userType" : "user.type",
    "ability" : "user.ability",
    "homeCareNeeds" : "user.serviceNeed",
    "maritalStatus" : "user.marriage",
    "liveStatus" : "user.liveStyle"
  }
}

Mock.mock('/api/user/stat', 'get', userStatData);